const NotFound = lazy(() => import("@pages/404"));
const Home = lazy(() => import("@pages/Home"));
const routes = [
  {
    path: "/",
    element: <Navigate to="/home" />,
  },
  {
    path: "/home",
    element: <Home />,
  },
  {
    path: "/notfound",
    element: <NotFound />,
  },
  {
    path: "*",
    element: <Navigate to="/notfound" />,
  },
];
export default routes;
